package collect.taobao.service.impl;
import collect.taobao.service.YaHooService;
import collect.taobao.bean.YaHooBean;
import collect.taobao.dao.YaHooDao;


import java.util.List;

public class YaHooServiceImpl implements YaHooService{
	
	private YaHooDao yaHooDao;
	
	public YaHooServiceImpl() {
		super();
	}

	public int delete(YaHooBean yaHooBean) {
		return yaHooDao.delete(yaHooBean);
	}

	public YaHooBean query(String id) {
		return yaHooDao.query(id);
	}

	public List queryList() {
		return yaHooDao.queryList();
	}

	public int save(YaHooBean yaHooBean) {
		return yaHooDao.save(yaHooBean);
	}

	public int update(YaHooBean yaHooBean) {
		return yaHooDao.update(yaHooBean);
	}

	public void setYaHooDao(YaHooDao yaHooDao) {
		this.yaHooDao = yaHooDao;
	}
	

}
